﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ Import Namespace="Workflow.Resource" %>
<%@ Import Namespace="Workflow.Web.Common" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
       <title><%=Global.ViewTiff%></title>
    <style type="text/css">
        #left
        {
            width: 80%;
            height: 800px;
            float: left;
        }
        .tiffclose
        {
            float: right;
        }
        #right
        {
            width: 18%;
            height: 800px;
            float: left;
            padding-left: 5px;
        }
        #right div
        {
            padding-bottom: 20px;
            border: 1px solid #8A9ABB;
            background: #F0F4F7;
            margin-bottom: 10px;
            font:Verdana, Geneva, sans-serif,宋体;
            font-size:12px;
        }
        body
        {
            scrollbar-face-color: #666666;
            scrollbar-highlight-color: #cccccc;
            scrollbar-shadow-color: #666666;
            scrollbar-3dlight-color: #666666;
            scrollbar-arrow-color: #f3e6a0;
            scrollbar-darkshadow-color: #444444;
        }
    </style>
    <link href="../../Scripts/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="../../Scripts/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/mercktheme/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../../Scripts/mercktheme/jquery.easyui.min.js" type="text/javascript"></script>
    <script>




        function closeForm() {
//            if (window.opener.closed == false) {
//                window.opener.location.reload();
//            }
            window.close();
        }
    </script>
</head>
<body>
    <div id="left">
        <% = ViewData["content"]%>
    </div>
    <div id="right">
    <%

        var vCase = (Workflow.Model.CaseEEM)ViewData["CaseEEM"];

    %>
        <div id="tiffinfo">
            <h4><%=Global.Information%>:</h4>

            &nbsp;<%=Global.FileName%>：<% = vCase.FileName%><br/>
            &nbsp;<%=Global.InvoiceNoEEM%>:<% =vCase.InvoiceNo%><br/>
            &nbsp;<%=Global.FolderLevelA%>:<% = vCase.FolderLevelA.FolderName%><br/>
            &nbsp;<%=Global.FolderLevelB%>:<% =vCase.FolderLevelB.FolderName%><br/>
            &nbsp;<%=Global.CheckType%>:<% = vCase.CheckType.FolderName%><br/>
            &nbsp;<%=Global.WorkStatus%>:<% = vCase.WorkStatus.WorkStatusNameEEM%><br/>
            &nbsp;<%=Global.StatusOperatorEEM%>:<% =vCase.StatusOperator != null ? vCase.StatusOperator.UserName : ""%><br/>
            &nbsp;<%=Global.OperatorEEM%>:<% =vCase.Operator != null ? vCase.Operator.UserName : ""%><br/>
             &nbsp;<%=Global.BatchNo%>:<% =vCase.BatchNo.Substring(9,4)%><br/>
             <%if (vCase.CaseMapPropertyEEM != null)
                   {

                       if (vCase.CaseMapPropertyEEM.Payment != null)
                       {
%>
                           &nbsp;<%=Global.PaymentEEM%>:<% =vCase.CaseMapPropertyEEM.Payment.PaymentName%>
            <br />
            <%
                       }
                   }
%>
   <%if (vCase.CommentCode != null)
              {
%>
            &nbsp;<%=Global.ReasonTitle%>:<% =vCase.CommentCode.JpReason%>
            <br />

            <%
              }
%>
            &nbsp;<%=Global.StatusComment%>:<% = vCase.StatusComment%><br/>

        </div>
        <div>

           <a href="javascript:void(0)" class="easyui-linkbutton" icon="icon-ok"   onclick="closeForm();" ><%=Global.Return%></a>
          
        </div>

    </div>
</body>
</html>
